package com.lzx.dormsys.service;

import com.lzx.dormsys.bean.DeviceBean;

import java.util.List;

/**
 * dmsService接口
 * 
 * @author ruoyi
 * @date 2021-09-09
 */
public interface IDmsDeviceService 
{
    /**
     * 查询dms
     * 
     * @param deviceId dmsID
     * @return dms
     */
    public DeviceBean selectDmsDeviceById(Long deviceId);

    /**
     * 查询dms列表
     * 
     * @param deviceBean dms
     * @return dms集合
     */
    public List<DeviceBean> selectDmsDeviceList(DeviceBean deviceBean);

    /**
     * 新增dms
     * 
     * @param deviceBean dms
     * @return 结果
     */
    public int insertDmsDevice(DeviceBean deviceBean);

    /**
     * 修改dms
     * 
     * @param deviceBean dms
     * @return 结果
     */
    public int updateDmsDevice(DeviceBean deviceBean);

    /**
     * 批量删除dms
     * 
     * @param deviceIds 需要删除的dmsID
     * @return 结果
     */
    public int deleteDmsDeviceByIds(Long[] deviceIds);

    /**
     * 删除dms信息
     * 
     * @param deviceId dmsID
     * @return 结果
     */
    public int deleteDmsDeviceById(Long deviceId);
}
